<?php
$dtds['edit']['iid']['name'] 						= 'IID';
$dtds['edit']['type']['name']  						= '类别';
$dtds['edit']['con#area']['name']  					= '商品所在地';
$dtds['edit']['con#keyword']['name']  				= '关键词';
$dtds['edit']['con#cid']['name']  					= '所属类目';
$dtds['edit']['con#start_price']['name']  			= '起始价格';
$dtds['edit']['con#end_price']['name']  			= '最高价格';
$dtds['edit']['con#start_commissionRate']['name']  	= '起始佣金比率';
$dtds['edit']['con#end_commissionRate']['name']  	= '最高佣金比率';
$dtds['edit']['con#start_credit']['name']  			= '起始信用';
$dtds['edit']['con#end_credit']['name']  			= '最高信用';
$dtds['edit']['con#start_commissionNum']['name']  	= '30天最低累计推广量';
$dtds['edit']['con#end_commissionNum']['name']  	= '30天最高累计推广量';
$dtds['edit']['con#guarantee']['name']  			= '是否消保商家';
$dtds['edit']['con#sort']['name']  					= '排序';

$dtds['edit']['iid']['value']['required']  			= true;
$dtds['edit']['type']['value']['required']  		= true;
$dtds['edit']['con#keyword']['value']['required']  	= false;
$dtds['edit']['con#area']['value']['required']  	= false;
$dtds['edit']['con#cid']['value']['required']  		= false;
$dtds['edit']['con#cid']['value']['mask']  			= "/^[0-9]+$/i";
$dtds['edit']['con#start_price']['value']['required']  			= false;
$dtds['edit']['con#start_price']['value']['mask']  				= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['edit']['con#end_price']['value']['required']  			= false;
$dtds['edit']['con#end_price']['value']['mask']  				= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['edit']['con#start_commissionRate']['value']['required'] 	= false;
$dtds['edit']['con#start_commissionRate']['value']['mask']  	= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['edit']['con#end_commissionRate']['value']['required']  	= false;
$dtds['edit']['con#end_commissionRate']['value']['mask']  		= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['edit']['con#start_commissionNum']['value']['required']  = false;
$dtds['edit']['con#start_commissionNum']['value']['mask']  		= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['edit']['con#end_commissionNum']['value']['required']  	= false;
$dtds['edit']['con#end_commissionNum']['value']['mask']  		= "/^([0-9]+(\.[0-9]+)?)?$/i";
$dtds['edit']['con#start_credit']['value']['required']  		= false;
$dtds['edit']['con#end_credit']['value']['required']  			= false;
$dtds['edit']['con#guarantee']['value']['required']  			= false;


$dtds['edit']['iid']['message']['required']  			= "%s必填项";
$dtds['edit']['type']['message']['required']  			= "%s必填项";
$dtds['edit']['con#area']['message']['required'] 		= "%s必填项";
$dtds['edit']['con#keyword']['message']['required'] 	= "%s必填项";
$dtds['edit']['con#cid']['message']['required']  		= "%s必填项";
$dtds['edit']['con#cid']['message']['mask']  			= "%s只能是数字";
$dtds['edit']['con#start_price']['message']['required'] 	= "%s必填项";
$dtds['edit']['con#start_price']['message']['mask']  		= "%s只能是数字";
$dtds['edit']['con#end_price']['message']['required']  		= "%s必填项";
$dtds['edit']['con#end_price']['message']['mask']  			= "%s只能是数字";
$dtds['edit']['con#start_commissionRate']['message']['required']  	= "%s必填项";
$dtds['edit']['con#start_commissionRate']['message']['mask']  		= "%s只能是数字";
$dtds['edit']['con#end_commissionRate']['message']['required']  	= "%s必填项";
$dtds['edit']['con#end_commissionRate']['message']['mask']  		= "%s只能是数字";
$dtds['edit']['con#start_credit']['message']['required']  			= "%s必填项";
$dtds['edit']['con#end_credit']['message']['required']  			= "%s必填项";
$dtds['edit']['con#start_commissionNum']['message']['required']  	= "%s必填项";
$dtds['edit']['con#start_commissionNum']['message']['mask']  		= "%s只能是数字";
$dtds['edit']['con#end_commissionNum']['message']['required']  		= "%s必填项";
$dtds['edit']['con#end_commissionNum']['message']['mask']  			= "%s只能是数字";
$dtds['edit']['con#guarantee']['message']['required'] 				= "%s必填项";
$dtds['edit']['con#sort']['message']['required']  					= "%s必填项";
